package stringhomework2;

public class TrimDemo {
    public static void main(String[] args) {
        String str="       i love study java        ";
        str=str.trim();
        System.out.println(str);
    }
}
